<html>

<body>

<h3>测试头像修改</h3>
<form method="post" action="{{url('admin/card/img')}}" enctype="multipart/form-data">

    userID:<input type="text" name="user_id"> <br>

    <br>

    图片:<input type="file" name="avatar" > <br>

    区块类型:<select name="type">
        <option value="avatar">avatar</option>
        <option value="image">image</option>
    </select>

    <input type="submit" value="提交">
</form>

1111
<h3>发布手札-创建文章</h3>
<form method="post" action="{{url('api/post/create_post_title')}}" enctype="multipart/form-data">

    标题:<input type="text" name="title"> <br>

    <input type="submit" value="提交">
</form>

<br>
<br>



<h3>发布手札-添加区块</h3>
<form method="post" action="{{url('api/post/add_post_option')}}" enctype="multipart/form-data">

    文章ID:<input type="text" name="id"> <br>


    区块类型:<select name="type">
        <option value="1">文字</option>
        <option value="2">图片</option>
    </select>
    <br>

    文字:<textarea name="text"></textarea>
    <br>

    图片:<input type="file" name="post_photo[]" > <br>

    <input type="submit" value="提交">
</form>

<br>
<br>

<h3>发布手札-删除区块</h3>
<form method="post" action="{{url('api/post/del_option')}}" enctype="multipart/form-data">

    文章ID:<input type="text" name="id"> <br>
    区块ID:<input type="text" name="option_id"> <br>

    区块类型:<select name="type">
        <option value="1">文字</option>
        <option value="2">图片</option>
    </select>
    <br>


    <input type="submit" value="提交">
</form>

<br>
<br>


<h3>发布手札-修改文字区块</h3>
<form method="post" action="{{url('api/post/edit_text_option')}}" enctype="multipart/form-data">

    文章ID:<input type="text" name="id"> <br>
    区块ID:<input type="text" name="option_id"> <br>
    文字:<textarea name="text"></textarea>
    <br>

    <input type="submit" value="提交">
</form>

<br>
<br>

<h3>发布手札-添加封面图片</h3>
<form method="post" action="{{url('api/post/add_cover_img')}}" enctype="multipart/form-data">

    文章ID:<input type="text" name="id"> <br>
    封面图片:<input type="file" name="cover_img" > <br>

    <input type="submit" value="提交">
</form>

<br>
<br>





<h3>发布手札-保存草稿</h3>
<form method="post" action="{{url('api/post/save_post_draft')}}" enctype="multipart/form-data">

    文章ID<input type="text" name="id">

    <input type="submit" value="提交">
</form>

<br>
<br>


<h3>发布手札-保存草稿</h3>
<form method="post" action="{{url('api/post/save_post_pending')}}" enctype="multipart/form-data">

    文章ID<input type="text" name="id">

    <input type="submit" value="提交">
</form>

<br>
<br>


</body>
</html>